<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  name: "App",
  data() {
    return {};
  },
  mounted() {
    this.onResize();
    window.addEventListener("resize", () => {
      this.$store.commit("mut_layout", {
        x:
          window.innerWidth ||
          document.documentElement.clientWidth ||
          document.body.clientWidth,
        y:
          window.innerHeight ||
          document.documentElement.clientHeight ||
          document.body.clientHeight,
        isResize: true,
      });
    });
  },
  methods: {
    onResize() {
      this.$store.commit("mut_layout", {
        x:
          window.innerWidth ||
          document.documentElement.clientWidth ||
          document.body.clientWidth,
        y:
          window.innerHeight ||
          document.documentElement.clientHeight ||
          document.body.clientHeight,
      });
    },
  },
};
</script>
<style>
body{
  background: #14161a !important;
}
*,body,html{
  -moz-user-select:none ;
  -ms-user-select: none;
  -webkit-user-select: none;
   user-select: none;
}
</style>